import request from '@/utils/request'

// 客户主表列表
export function customerLists(params?: Record<string, any>) {
  return request.get({ url: '/customer/list', params })
}

// 客户主表详情
export function customerDetail(params: Record<string, any>) {
  return request.get({ url: '/customer/detail', params })
}

// 客户主表新增
export function customerAdd(params: Record<string, any>) {
  return request.post({ url: '/customer/add', params })
}

// 客户主表编辑
export function customerEdit(params: Record<string, any>) {
  return request.post({ url: '/customer/edit', params })
}

// 客户主表删除
export function customerDelete(params: Record<string, any>) {
  return request.post({ url: '/customer/del', params })
}

//项目政策匹配公司
export function detailMatching(params: Record<string, any>) {
  return request.post({ url: '/customer/matching', params })
}
